package my.andoird.util.r1;

import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
//import android.database.sqlite.SQLiteOpenHelper;

public final class AndroidDB
{
	public static final String	DEBUG_TAG	= "AndroidDB";

//	private String path = null;
	private String				name		= null;
	private SQLiteDatabase		db			= null;

	public AndroidDB(Context context, String name)
	{
		this.name = name;
	}
	
	public AndroidDB(String path, String name)
	{
//		this.path = path;
		this.name = name;
	}

	public void openDB(String absoulte_path)
	{
		String path = absoulte_path;
		
		db = SQLiteDatabase.openOrCreateDatabase(path, null);
	}
	
	public void createTable(String table_name)
	{
		String query = String.format("CREATE TABLE %s ", name);
		
		db.execSQL(query);
		
		Cursor c;
		
	}
}
